<?php

abstract class base_syscache_adapter_abstract {

    protected function get_key() {
        $key = 'system-' . substr(get_class($this), strrpos(get_class($this), '_') + 1) . '-' . get_class($this->_handler) . '-cache-' . md5(ROOT_DIR) . '-' . $this->_handler->get_last_modify();
        return $key;
    }

    public function init($handler) {
        $this->_handler = $handler;
        return $this->init_data();
    }
}